package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface SetmealMapper extends BaseMapper<Setmeal> {


    @Insert("insert into t_setmeal_checkgroup values (#{setmeal_id},#{checkgroup_id})")
    void add(@Param("setmeal_id") Integer id,@Param("checkgroup_id") Integer checkGroupId);
}
